package exercise;

public class Circle extends Shape{
    public double radius ;
    public double P = 3.14 ;

    public Circle(){
        type = "圆形" ;

    }

    public void calculate(){

        this.area = Math.pow( radius , 2 ) * P ;
    }

    public void description(){

        System.out.println("半径：" + radius);
        show();

    }


}
